package com.eam.bean;



/**
 * Department entity. @author MyEclipse Persistence Tools
 */

public class Department  implements java.io.Serializable {


    // Fields    

     private Integer departmentId;
     private String name;
     private String spec;
     private String leader;


    // Constructors

    /** default constructor */
    public Department() {
    }

    
    /** full constructor */
    public Department(String name, String spec, String leader) {
        this.name = name;
        this.spec = spec;
        this.leader = leader;
    }

   
    // Property accessors

    public Integer getDepartmentId() {
        return this.departmentId;
    }
    
    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getSpec() {
        return this.spec;
    }
    
    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getLeader() {
        return this.leader;
    }
    
    public void setLeader(String leader) {
        this.leader = leader;
    }
   








}